#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! This cash flow pays a fractional amount at a given date.
	/// </summary>
    [Guid ("B265F8A2-BA52-4ea1-BFEC-0712E104DBF3"),ComVisible(true)]
	public interface IFractionalDividend : Cephei.QL.Cashflows.IDividend
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount(Double underlying);
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount();
        /// <summary> 
		/// 
		/// </summary>
		 Double Nominal {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Rate {get;}
    }   

    /// <summary> 
	/// ! This cash flow pays a fractional amount at a given date. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IFractionalDividend_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IFractionalDividend Create (Double rate, Double nominal, DateTime date);
        /// <summary> 
		/// 
		/// </summary>
	    IFractionalDividend Create (Double rate, DateTime date);
    }
}

